<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
<title><?php echo ($title); echo (TITLE); ?></title>
<meta charset=utf-8 />
        <link href="<?php echo (HOMECSS); ?>bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>font-awesome.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>se7en-font.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>isotope.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>jquery.fancybox.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>fullcalendar.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>wizard.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>select2.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>morris.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>datatables.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>datepicker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>timepicker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>colorpicker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>bootstrap-switch.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>daterange-picker.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>typeahead.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>summernote.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>pygments.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>style.css" media="all" rel="stylesheet" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/green.css" media="all" rel="alternate stylesheet" title="green-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/orange.css" media="all" rel="alternate stylesheet" title="orange-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/magenta.css" media="all" rel="alternate stylesheet" title="magenta-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>color/gray.css" media="all" rel="alternate stylesheet" title="gray-theme" type="text/css" />
        <link href="<?php echo (HOMECSS); ?>tishiStyle.css" media="all" rel="stylesheet" type="text/css" />
        <script src="<?php echo (HOMEJS); ?>tishiMsgbox.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery-ui.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>raphael.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>selectivizr-min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.mousewheel.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.vmap.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.vmap.sampledata.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.vmap.world.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.bootstrap.wizard.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>fullcalendar.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>gcal.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.dataTables.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>datatable-editable.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.easy-pie-chart.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>excanvas.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.isotope.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>isotope_extras.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>modernizr.custom.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.fancybox.pack.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>select2.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>styleswitcher.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>wysiwyg.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>summernote.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.inputmask.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.validate.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-fileupload.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-datepicker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-timepicker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-colorpicker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>bootstrap-switch.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>typeahead.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>daterange-picker.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>date.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>morris.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>skycons.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>fitvids.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>jquery.sparkline.min.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>main.js" type="text/javascript">
        </script>
        <script src="<?php echo (HOMEJS); ?>respond.js" type="text/javascript">
        </script>
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
		  </head>
<script>
	window.onload = function() {
		var CONTROLLER_ACTION = "<?php echo (CONTROLLER_NAME); ?>" + "/"
				+ "<?php echo (ACTION_NAME); ?>";
		switch (CONTROLLER_ACTION) {
			case "Index/index":                   $("#Index").addClass("current");    break;
			case "News/showlist":                 $("#News").addClass("current");     break;
			
			case "Project/showlist":              $("#Project").addClass("current");
												  $("#ProjectL").addClass("current"); break;
												  
		    case "Project/myjoin":                $("#Project").addClass("current");
				                                  $("#ProjectM").addClass("current"); break;	
												  
			case "Project/myapply":               $("#Project").addClass("current");
				                                  $("#ProjectM").addClass("current"); break;
												  
			case 'Project/myrelease':             $("#Project").addClass("current");
				                                  $("#ProjectM").addClass("current"); break;	
												  	
			case 'Project/declarepro':            $("#Project").addClass("current");
												  $("#ProjectM").addClass("current"); break;	
												  
			case "Idea/showlist":                 $("#Idea").addClass("current");
												  $("#IdeaL").addClass("current");    break;
												  
			case 'Idea/myidea':                   $("#Idea").addClass("current");
				                                  $("#IdeaM").addClass("current");    break;
												  
			case 'Idea/addideas':                 $("#Idea").addClass("current");
				                                  $("#IdeaM").addClass("current");    break;
												  
			case 'Idea/mycomment':                $("#Idea").addClass("current");
				                                  $("#IdeaM").addClass("current");    break;
												  
			case "Activity/showlist":             $("#Activity").addClass("current"); break;
			
			case "Subject/showlist":              $("#Subject").addClass("current");  break;
			
		}
		
		var h = document.getElementById("myH").offsetHeight; 
		document.getElementById("notice").style.height = h+"px";
		
		var g1 = document.getElementById("first_middle_newest").offsetHeight; 
		var g2 = document.getElementById("second_middle_newest").offsetHeight; 
		var g3 = document.getElementById("third_middle_newest").offsetHeight;
		if(g1>=g2&&g1>=g3){
			document.getElementById("second_middle_newest").style.height = g1+"px";
		    document.getElementById("third_middle_newest").style.height = g1+"px";
		} 
		if(g2>=g3&&g2>=g1){
			document.getElementById("first_middle_newest").style.height = g2+"px";
		    document.getElementById("third_middle_newest").style.height = g2+"px";
		}
		if(g3>=g1&&g3>=g2){
			document.getElementById("first_middle_newest").style.height = g3+"px";
		    document.getElementById("second_middle_newest").style.height = g3+"px";
		}

	}
</script>
<script>
	function develop() {
		ZENG.msgbox.show("该模块正在开发中，敬请期待！", 5, 2000);
	}
</script>
<body id="wid">
	<div class="modal-shiftfix">
		<!-- Navigation -->
		<div class="navbar navbar-fixed-top scroll-hide">
			<div class="container-fluid top-bar">
				<div class="pull-right">
					<ul class="nav navbar-nav pull-right">
						<!--<li class="dropdown messages hidden-xs"><a
							class="dropdown-toggle" data-toggle="dropdown" href="#"><span
								aria-hidden="true" class="se7en-envelope"></span>
								<div class="sr-only">Messages</div>
								<p class="counter">3</p> </a>   <ul class="dropdown-menu messages">
                            <li>
                            <a href="#"><img width="34" height="34" src="<?php echo (RESOURCES); ?>HOME/images/avatar-male2.png" />Could we meet today? I wanted...</a>
                            </li>
                            <li>
                            <a href="#"><img width="34" height="34" src="<?php echo (RESOURCES); ?>HOME/images/avatar-female.png" />Important data needs your analysis...</a>
                            </li>
                            <li>
                            <a href="#"><img width="34" height="34" src="<?php echo (RESOURCES); ?>HOME/images/avatar-male2.png" />Buy Se7en today, it's a great theme...</a>
                            </li>
                            </ul></li> -->
						<?php if($_SESSION['userType'] == 1): ?><li class="dropdown user hidden-xs"><a data-toggle="dropdown"
							class="dropdown-toggle" href="#"><img width="34" height="34"
								src="<?php echo (RESOURCES); ?>UPLOADS/photo/<?php echo ($_SESSION['userPhoto']); ?>" /><?php echo ($_SESSION['userRealname']); ?>
								<b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Project/myRelease"><i
										class="icon-table"></i>项目管理</a></li>
								<li><a href="<?php echo (DOMAIN_NAME); ?>Home/Idea/myIdea"><i
										class="icon-list-ul"></i>创意管理</a></li>
								
								<!--		<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Activity/myJoin"><i
										class="icon-th"></i>创新活动管理</a></li>
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Subject/mySubject"><i
										class="icon-th-large"></i>创新专题管理</a></li>  -->
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/editInfo"><i
										class="icon-cogs"></i>修改个人信息</a></li>
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/editPswd"><i
										class="icon-cog"></i>修改密码</a></li>
								<li><a onclick="Javascript:return confirm('确定要退出吗？');"
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/Logout"><i
										class="icon-signout"></i>注销</a></li>
							</ul></li>
						<?php elseif($_SESSION['userType'] == 2): ?>教师<?php else: ?>
						<li class="dropdown user hidden-xs"><a data-toggle="dropdown"
							class="dropdown-toggle" href="#"><img width="34" height="34"
								src="<?php echo (RESOURCES); ?>HOME/images/avatar-male.jpg" />请登录<b
								class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a href="<?php echo (DOMAIN_NAME); ?>Home/Account/Login"><i
										class="icon-user"></i>登录</a></li>
								<li><a
									href="<?php echo (DOMAIN_NAME); ?>Home/Account/Registered"><i
										class="icon-group"></i>注册</a></li>
								<li><a href="<?php echo (DOMAIN_NAME); ?>Home/Account/Back"><i
										class="icon-th"></i>找回密码</a></li>
							</ul></li><?php endif; ?>
					</ul>
				</div>
				<button class="navbar-toggle">
					<span class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a href="<?php echo (DOMAIN_NAME); ?>">
                <img src="<?php echo (RESOURCES); ?>ADMIN/IMAGES/se7en-logo.png" />
            </a>
				<form class="navbar-form form-inline col-lg-2 hidden-xs"></form>
			</div>
			<div class="container-fluid main-nav clearfix">
				<div class="nav-collapse">
					<ul class="nav">
						<li><a id="Index"
							href="<?php echo (DOMAIN_NAME); ?>Home/Index/"><span
								aria-hidden="true" class="se7en-home"></span>首页</a></li>
						<li class="dropdown"><a id="Project" data-toggle="dropdown" href="#"> <span aria-hidden="true" class="se7en-feed"></span>项目中心<b class="caret"></b></a>
							<ul class="dropdown-menu">
								
								<!-- <li><a id="ProjectL" href="<?php echo (DOMAIN_NAME); ?>Home/Project/showList">项目招标</a>
								</li> -->
								<li><a id="ProjectL" href="<?php echo (DOMAIN_NAME); ?>Home/Project/isbid_List">正在招标项目</a>
								</li>
								<li><a id="ProjectL" href="<?php echo (DOMAIN_NAME); ?>Home/Project/isfinish_List">成功结项案例</a>
								</li>
								<li><a id="ProjectM" href="<?php echo (DOMAIN_NAME); ?>Home/Project/myRelease">我的项目管理</a>
								</li>
			
							</ul></li>

						<li class="dropdown"><a id="Idea" data-toggle="dropdown" href="#"> <span aria-hidden="true" class="se7en-feed"></span>创意中心<b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a id="IdeaL" href="<?php echo (DOMAIN_NAME); ?>Home/Idea/showList">创意列表</a>
								</li>
								<li><a id="IdeaM" href="<?php echo (DOMAIN_NAME); ?>Home/Idea/myIdea">我的创意管理</a>
								</li>
			
							</ul></li>
						
						<li ><a id="News"
							href="<?php echo (DOMAIN_NAME); ?>Home/News/showList"><span
								aria-hidden="true" class="se7en-charts"></span>新闻动态</a></li>

							<li class="dropdown">
							<a id="Idea" data-toggle="dropdown" href="#"> <span aria-hidden="true" class="se7en-forms"></span>创新活动<b class="caret"></b></a>
								<ul class="dropdown-menu">
								<li><a id="IdeaL" href="<?php echo U('activity/showlist');?>">活动列表</a>
								</li>
								<li><a id="IdeaM" href="<?php echo U('activity/endlist');?>">结束活动</a>
								</li>
							</ul></li>
						<li><a id="Subject" onclick="develop()"><span
								aria-hidden="true" class="se7en-forms"></span>创新专题</a></li>

					</ul>
				</div>
			</div>
		</div>
<div class="container-fluid main-content">
	<div class="row">
		<div class="col-md-12">
			<div class="widget-container fluid-height clearfix">
				<div class="heading">
					<i class="icon-tags"></i>创意详情
				</div>
				<?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vol): $mod = ($i % 2 );++$i;?><div class="col-md-3" style="margin: 20px 0 0 20px">
					<div
						class="item widget-container fluid-height profile-widget isotope-item">
						<div class="item widget-container fluid-height profile-widget">
							<div class="widget-content padded">
								<div class="profile-info clearfix">
									<img width="70" height="70" class="social-avatar pull-left"
										src="<?php echo (RESOURCES); ?>UPLOADS/photo/<?php echo ($vol["photo"]); ?>"
										style="margin: 0 20px 0 0; border-radius: 70px" />
									<div class="profile-details" style="margin: 10px 0 10px 0">
										<a class="user-name" href="#"><strong><?php echo ($vol["realname"]); ?></strong></a>
										<p style="margin: 10px 0 10px 0">
											<i class="icon-map-marker"></i> <?php echo ($vol["email"]); ?>
										</p>
										<p style="margin: 5px 10px 10px 90px;font-size:13px;line-height:22px">
											<strong>个人介绍：</strong><?php echo ($vol["intro"]); ?>
										</p>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div><?php endforeach; endif; else: echo "" ;endif; ?>
				<?php if(is_array($idea)): $i = 0; $__LIST__ = $idea;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="col-md-8" style="margin: 0 20px 40px 20px">
					<p style="font-size: 24px; color: #007aff; font-family: 微软雅黑, 宋体;">
						<?php echo ($vo["idea"]); ?></p>
					<div class="blog-content" style="float: left">
						<div class="11" style="margin: 15px 0 15px 0">
							<blockquote>
								<address>

									<span class="meta-date" style="color: #f09606;">发布时间：<?php echo (substr($vo["idate"],0,10)); ?></span>&nbsp;&nbsp;
									<span class="meta-comments" style="color: #f09606;">权限：
										<?php if($vo["ispublic"] == '0'): ?>公开 <?php else: ?>不公开<?php endif; ?>
									</span>&nbsp;&nbsp;<span class="meta-author" style="color: #f09606;">点击量：<?php echo ($vo["hint"]); ?></span>

								</address>
							</blockquote>
						</div>
						<div><?php echo (stripslashes(htmlspecialchars_decode($vo["content"]))); ?></div>
						<blockquote style="margin: 30px 0 0 0; color: #f09606;">
							附件：<a href="<?php echo (RESOURCES); ?>UPLOADS/attach/<?php echo ($vo["attach"]); ?>"><?php echo (substr($vo["attach"],9,30)); ?></a>
						</blockquote>
						<!-- /.blog-content -->
					</div><?php endforeach; endif; else: echo "" ;endif; ?>
				<!-- /.post-blog -->
			</div>
		</div>
	</div>
</div>
</div>
</div>
<div class="row">
	<!-- Conversation -->
	<div class="col-lg-12" style="margin: 20px 0 -19px 0">
		<div class="widget-container scrollable chat">
			<div class="heading">
				<a name="comments"> <i class="icon-comments"></i>评论列表
				</a>
			</div>
			<div class="widget-content padded">
				<ul>
					<?php if(is_array($show)): $i = 0; $__LIST__ = $show;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($vo["num"] %2 == 1 ): ?><li><img width="30" height="30"
						src="<?php echo (RESOURCES); ?>UPLOADS/photo/<?php echo ($vo["photo"]); ?>">
						<div class="bubble">
							<a class="user-name" href="#"><?php echo ($vo["cuser"]); ?></a>
							<p class="message"><?php echo ($vo["content"]); ?></p>
							<p class="time">
								<strong><?php echo (substr($vo["cdate"],0,10)); ?></strong> <br>
								<?php echo (substr($vo["cdate"],11,5)); ?> <?php echo ($vo["time"]); ?>
							</p>
						</div></li>
					<?php else: ?>
					<li class="current-user"><img width="30" height="30"
						src="<?php echo (RESOURCES); ?>UPLOADS/photo/<?php echo ($vo["photo"]); ?>" />
						<div class="bubble">
							<a class="user-name" href="#"><?php echo ($vo["cuser"]); ?></a>
							<p class="message"><?php echo ($vo["content"]); ?></p>
							<p class="time">
								<strong><?php echo (substr($vo["cdate"],0,10)); ?></strong> <br>
								<?php echo (substr($vo["cdate"],11,5)); ?> <?php echo ($vo["time"]); ?>
							</p>
						</div></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
					<?php if($number == 0 ): ?><li><img width="30" height="30"
						src="<?php echo (RESOURCES); ?>HOME/images/avatar-male.jpg">
						<div class="bubble">
							<a class="user-name" href="#">管理员</a>
							<p class="message">亲,目前没有评论哦,快来抢沙发吧！</p>
							<p class="time">
								<strong>2015-12-12</strong> <br> 下午
							</p>
						</div></li>
					<?php else: endif; ?>
				</ul>
			</div>
			<form method="post"
				action="<?php echo (DOMAIN_NAME); ?>Home/Comment/releaseCom/iid/<?php echo ($vo["iid"]); ?>"
				class="form-horizontal">
				<div class="post-message">
					<a href="#comments"> <input name="content" class="form-control"
						placeholder="请在这留下你的评论…" type="text"><input
						class="btn btn-primary" type="submit" value="评论"></a>
				</div>
			</form>
		</div>
	</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row"></div>
<meta charset=utf-8 />
<div class="container-fluid main-content">
	<div class="page-title"></div>
	<div class="row">
		<div class="col-lg-12" style="margin: 25px 0 0 0">
			<div class="widget-container fluid-height clearfix">
				<div class="col-md-12" style="text-align: center">
					<div class="dh" style="text-align: center; margin: 40px 0 15px 0">
						<small><a href="<?php echo (DOMAIN_NAME); ?>Home/Index/">首页</a>&nbsp;
						</small> <small><a
							href="<?php echo (DOMAIN_NAME); ?>Home/Idea/showList">创意列表</a>&nbsp;</small>
						<small><a
							href="<?php echo (DOMAIN_NAME); ?>Home/Project/showList">项目列表</a>&nbsp;
						</small> <small><a
							href="#">创新活动</a>&nbsp;</small>
						<small><a
							href="#">创新专题</a>&nbsp;
						</small> <small> <a
							href="<?php echo (DOMAIN_NAME); ?>Home/News/showList">新闻动态</a></small>
					</div>
					<p style="text-align: center; margin: 10px 0 30px 0">
						<small><a href="http://www.neusoft.edu.cn/" target="_bank">大连东软信息学院</a>
							- 计算机科学与技术系</small>
					</p>
				</div>
			</div>
		</div>
		<!-- End Pie Graph 1 -->
	</div>
</div>

</body>
</html>